package lu.med.praxiswahl.wahlumed.service.beans.serviceinterface;


import lu.med.praxiswahl.wahlumed.model.beans.AccountingTBL;
import lu.med.praxiswahl.wahlumed.model.beans.CustomerTBL;
import lu.med.praxiswahl.wahlumed.model.beans.InternAnalysisTBL;

/**
*
* @author Patrick kendzo
* Email: pkendzo@msn.com
*/

public interface InternAnalysisServiceInt
{
	public static final int	RET_OPERATION_DONE_PROPERLY	= 0;
	public static final int	RET_PATIENT_NOT_FOUND		= 1;
	public static final int	RET_OPERATION_FAILED		= 2;

	public int create_internAnalysis(String datum, String matricule, String year, int interAnaNumber, AccountingTBL lastEditor);

	public void getA_InternAnalysisInstance(InternAnalysisTBL cal);

	public InternAnalysisTBL[] getAnalysisByYEAR(String year);

	public InternAnalysisTBL[] getAnalysisByYEAR_And_Month(String year,
			String month);

	public InternAnalysisTBL[] getAnalysisByCustomer(String matricule);

	public int remove_analyisItem(Long analysisID);
	
	public int get_InterAnaNumber();
	public void set_InterAnaNumber(int internAnaNumber);

	public String get_Datum();

	public void set_Datum(String datum);

	public String get_Year();
	
	public boolean is_Ob_pos();

	public void set_Ob_pos(boolean ob_pos);

	public void set_Year(String year);

	public CustomerTBL get_Customer();

	public void set_Customer(CustomerTBL customer);

	public String get_Hbg_prozent();

	public void set_Hbg_prozent(String hbg_prozent);

	public String get_Hkt();

	public void set_Hkt(String hkt);

	public String get_Thrombos();

	public void set_Thrombos(String thrombos);

	public String get_Leukos();

	public void set_Leukos(String leukos);

	public String get_Erys();

	public void set_Erys(String erys);

	public String get_Gran();

	public void set_Gran(String gran);

	public String get_Lymph();

	public void set_Lymph(String lymph);

	public String get_Bsg();

	public void set_Bsg(String bsg);

	public boolean is_MittelstrahlUrin();

	public void set_MittelstrahlUrin(boolean mittelstrahlUrin);

	public String get_Leukocyten();

	public void set_Leukocyten(String leukocyten);

	public String get_Nitrit();

	public void set_nitrit(String nitrit);

	public String get_PH();

	public void set_PH(String ph);

	public String get_Protein();

	public void set_Protein(String protein);

	public String get_Glucose();

	public void set_Glucose(String glucose);

	public String get_Keton();

	public void set_Keton(String keton);

	public String get_Bilirubin();

	public void set_Bilirubin(String bilirubin);

	public String get_Blut();

	public void set_Blut(String blut);

	public String get_Haemoglobin();

	public void set_Haemoglobin(String haemoglobin);

	public boolean is_Urin();

	public void set_Urin(boolean urin);

	public String get_UroBilonogene();

	public void set_UroBilonogene(String uroBilonogene);

	public String get_Urikult();

	public void set_Urikult(String urikult);
	
	public String get_ZweiteCombur();
	public void set_ZweiteCombur(String zweiteCombur);
	
	
	public InternAnalysisTBL[] retrieveInternAnaItemsOfINTERVAL(String fromDatum, String toDatum);
	
	/*wird beim Hochlader des Client abgefragt
	 * 
	 */
	public InternAnalysisTBL[] retrieveLast_50_ItemOfInterAna(String year);
	
	public int getActualInterAnaNumberIndex(String year);
	
	/* Liefert alle Eintraege, wo die Combur9(Feldreihe) leer sind */
	public InternAnalysisTBL[] retrieveCOMBUR9_IF_ALL_ENTRY_EMPTY();
	
	public InternAnalysisTBL[] retrieveOB_POS();
	
	public void sortByNumber(String year);
	
	public void update_date(InternAnalysisTBL analysisItem);
	
	public void updateAnalysisObjectField(InternAnalysisTBL[] items);
	
	public void updateAnalysisObject(InternAnalysisTBL item);
	

}